//
//  Student.h
//  08-类的扩展
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
//规定协议内容
@protocol GetMacBookDelegate <NSObject>
// 默认必须实现
@required
- (NSString *)buyMacBook:(NSString *)money;
@optional
- (NSString *)drawBill;

@end

@interface Student : NSObject
// 委托方的写法
// 2.设定委托方
@property (nonatomic, weak) id<GetMacBookDelegate>delegate;

- (void)seeWebChat;

@end
